﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kokomo.Lexical.Coding;

namespace Kokomo.PeInspector
{
	public class Decompilation
	{
		public Decompilation(
			IEnumerable<Statement> statements
			)
		{
			if (statements == null) throw new ArgumentNullException("statements");

			this.Statements = statements;
		}

		/// <summary>
		/// Gets the statements inferred from the procedure.
		/// </summary>
		public IEnumerable<Statement> Statements { get; private set; }
	}
}
